@charset "UTF-8";
/**
 * 
 * User: zeng/704729872@qq.com
 * Date: 2018/3/29
 * Time: 13:13
 */
@import "zeng/common?222";
@import "zeng/variable";

.banner {
  position: relative;
  .region {
    margin-top: 16px;
    li {
      float: left;
    }
  }
}

.li {
  margin: {
    left: 19px;
  }
  &.first {
    margin: {
      left: 30px;
    }
  }
}

.fade {
  transition: opacity 500s;
}

.banner_li {
  display: none;
  &.check {
    display: list-item;
  }
}

/* 搜索 */
.banner #search {
  .search_div {
    width: 1016px;
    height: 127px;
    background: rgba(0, 0, 0, .5);
    border-radius: 15px;
    position: absolute;
    bottom: 43px;
    left: 42%;
    margin-left: -360px;

    .choice_btn {
      position: relative;
      display: inline-block;
      width: 137px;
      height: 51px;
      background: rgba(255, 255, 255, 1);
      border-radius: 10px;

      .region {
        display: none;
        background-color: #fff;
        width: 137px;
        position: absolute;
        top: 26px;
        left: 0;
        border-radius: 0 0 5px 5px;

        li {
          float: none;
          text-align: center;
          height: 38px;
          line-height: 38px;
          a {
            width: 100%;
          }
          &:hover {
            border-radius: 0 0 5px 5px;
            background-color: rgba(250, 250, 250, 1);
          }
        }
      }
    }

    .confirm_search_btn {
      @extend .choice_btn;
      background: $background_theme;
      width: 141px;
      margin-left: 13px;

      line-height: 51px;
      position: relative;
      text-align: center;
    }

    ._input {
      position: relative;
      margin-left: 13px;
      width: 661px;
      display: inline-block;
      .search_input {
        border: 0;
        width: 611px;
        height: 51px;
        border-radius: 10px;
        outline-style: none;
        padding: {
          left: 50px;
        }
        font-size: $choice;
        &:focus {
          border: 0
        }
        &::-webkit-input-placeholder {
          @include handler_font($family: MicrosoftYaHei, $color: rgba(153, 153, 153, 1), $size: $choice)
        }
      }
    }
  }

  .choice {
    cursor: pointer;
    line-height: 51px;
    position: relative;
    //margin: {
    //  left: 23px;
    //}
    &:hover {
      .choice_btn .region {
        display: block;
      }
    }
  }
}

/* 导航栏 */
#sub-header {
  position: absolute;
  top: 0;
  z-index: 99;
  height: 80px;
  line-height: 80px;
  width: 100%;
  background: rgba(255, 255, 255, .8);

  ul.fr {
    float: right;
  }

  .login_registry {
    //margin-left: 245px;
    li {
      float: right;
    }
  }
}

/* 业务主体 */
#business_body {
  width: 100%;
  @at-root {
    .business_module {
      position: relative;
      width: $width_theme;
      margin: 99px auto 116px;
    }

    .child_business_list {
      @extend .business_module;
      @at-root {
        & .child_business_title {
          position: relative;
          a {
            position: absolute;
            top: 60px;
            right: 0;
            &:hover {
              color: $background_theme;
            }
          }
          /* 友家 */
          &.friend_family_child {
            height: 86px;
            background: url(../images/newIndex/title_one.png) no-repeat center;
          }

          &.entire_rent_child {
            height: 96px;
            background: url(../images/newIndex/title_two.png) no-repeat center;
          }

          &.direct_rent_child {
            height: 96px;
            background: url(../images/newIndex/title_three.png) no-repeat center;
          }

          &.advantage_child {
            height: 90px;
            background: url(../images/newIndex/title_four.png) no-repeat center;
          }
        }

        & .child_business_body {
          margin: {
            top: 77px;
          }
          .body_list {
            overflow: auto;
            display: inline-block;
            width: 427px;
            height: 388px;
            background: rgba(255, 255, 255, 1);
            border-radius: 5px;
            box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.24);
            transition: box-shadow .3s;
            &:hover{
              box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.24);
            }
            margin: {
              right: 17px;
              //bottom: 41px;
            }
            &:last-child {
              margin-right: 0;
            }
            .content {
              span {
                display: block;
                margin: 10px;
              }
            }
          }

        }
      }

      .advantage {
        @at-root {
          .advantage_list {
            display: inline-block;
            margin-right: 93px;
            text-align: center;
            .advantage_content {
              span {
                display: block;
              }
            }
            &:last-child {
              margin-right: 0;
            }
          }
        }
      }
    }

    .rzyw {
      width: 256px;
      height: 396px;
      margin-right: 24px;
      display: inline-block;
      overflow: auto;
      transition: transform .4s ease-in-out;
      &:hover {
        transform: scale(1.1);
      }
      a {
        display: block;
        line-height: 54px;
        text-align: center;
        width: 180px;
        height: 54px;
        background: rgba(0, 0, 0, 0);
        border: 1px solid #fff;
        position: relative;
        top: 319px;
        left: 0;
        margin: 0 auto;
      }
      /* 合租 */
      &.flat_share {
        background: url(../images/newIndex/bg_one.png) no-repeat center;
      }

      &.entire_rent {
        background: url(../images/newIndex/bg_two.png) no-repeat center;
      }

      &.direct_rent {
        background: url(../images/newIndex/bg_three.png) no-repeat center;
      }

      &.friend_family_one {
        background: url(../images/newIndex/bg_four.png) no-repeat center;
      }

      &.friend_family_two {
        background: url(../images/newIndex/bg_five.png) no-repeat center;
      }
    }
  }
}

.footer {
  width: 100%;
  overflow: hidden;
  height: 316px;
  background: rgba(29, 31, 33, 1);
  .footer_content {
    overflow: hidden;
    width: 1179px;
    margin: 39px auto 37px;
    dl {
      float: left;
      display: inline-block;
      margin-right: 171px;
      a {
        display: block;
        margin-top: 14px;
      }
    }
    .follow {
      display: inline-block;
      float: right;
      margin-left: 20px
    }
    .friend_link {
      height: 53px;
      line-height: 53px;
      border: {
        top: 1px solid rgba(136, 136, 136, 1);
        bottom: 1px solid rgba(136, 136, 136, 1);
      }
      a:not(:last-child) {
        margin-right: 69px;
      }
    }
  }
}

#house {
  width: $width_theme;
  margin: 0 auto;

  .active {
    opacity: 1;
  }

  .info {
    .img {
      width: 700px;
      @at-root {
        .slider {
          width: 100%;
          height: 126px;
          margin-top: 20px;
          .prev {
            cursor: pointer;
            height: 126px;
            width: 18px;
            background: url("../images/newDetail/left.png") no-repeat center;
          }
          .next {
            height: 126px;
            cursor: pointer;
            width: 18px;
            background: url("../images/newDetail/right.png") no-repeat center;
          }

          .show_width {
            width: 651px;
            display: inline-block;
            height: 126px;
            position: relative;
            overflow: hidden;
            margin: 0 3px;
          }

          ul {
            position: absolute;
            padding: 0;
            top: 0;
            height: 126px;
            list-style: none;
            li {
              float: left;
              opacity: .4;

              div {
                cursor: pointer;
                margin-left: 5px;
                width: 211px;
                height: 126px;
              }
            }
          }

          .selling_point {
            list-style: disc !important;
          }
        }
      }
    }

    .detail {
      width: 700px;
      float: right;
      .detail_content {
        margin-left: 34px;
        h2 {
          margin-top: 8px;
        }

        @at-root .price {
          float: right;
          .price_sum {
            font: 24px Microsoft YaHei;
            color: $background_theme;
            font-weight: 600;
          }
        }

        .selling_point {
          margin-top: 38px;
          margin-left: 13px;
          li {
            margin-top: 19px;
            color: rgba(179, 179, 179, 1);
            span {
              font-size: $house_info_font;
              color: rgba(77, 77, 77, 1);
              font-family: "Microsoft YaHei", Simsun, sans-serif;
            }
          }
        }

        .btn-grounp {
          img {
            position: relative;
            top: 5px;
            margin-right: 8px;
          }
          width: 432px;
          margin-top: 85px;
          button {
            cursor: pointer;
            outline: none;
            border: 0;
            &:not(.yuyue-btn) {
              line-height: 60px;
              border: 1px solid rgba(102, 102, 102, 1);
              &:hover {
                background: rgba(243, 159, 13, 1);
                color: #fff;
                border: 1px solid #fff;
              }
            }
          }

          .yuyue-btn {
            width: 432px;
            height: 65px;
            background: rgba(243, 159, 13, 1);
            border-radius: 8px;
            &:hover {
              background: rgb(198, 127, 13);
            }
          }

          .shouc-btn {
            width: 202px;
            height: 60px;
            background: rgba(255, 255, 255, 1);
            border-radius: 8px;
          }

          .fenx-btn {
            @extend .shouc-btn;
            &:hover {
              .shareCon {
                display: block;
              }
            }
            .shareCon {
              background: #ffa000;
              border: solid 1px #ffa000;
              border-radius: 0 0 8px 8px;
              top: 44px;
              right: 0;
              width: 198px;
              height: 65px;
              z-index: 1;
              text-align: center;
              line-height: 50px;
              display: none;
            }
          }
        }
      }
    }
  }

  .house-detail-list {
    .title {
      position: absolute;
      top: 6px;
      left: 20px;
    }
    .content {
      margin-left: 19px;
      margin-top: 5px;
    }
    & > div {
      margin-top: 50px;
      position: relative;
      &:before {
        content: '';
        width: 8px;
        height: 34px;
        background: rgba(243, 159, 13, 1);
        border-radius: 2px;
        display: inline-block;
      }
    }
    .house-detail {
      p {
        @extend .font;
        @include handler_font($size: $detail_list_font, $color: rgba(51, 51, 51, 1));
      }
    }
    .house-config {
      .content {
        li {
          margin-right: 61px;
          ._area {
            width: 60px;
            text-align: center;
            span {
              font-size: 1.6rem;
              font-family: MicrosoftYaHei, serif;
              color: rgba(102, 102, 102, 1);
            }
          }
        }
      }
    }
    .house-info {
      .content {
        table {
          border: 1px solid #888;
          width: 100%;
          @include handler_font($size: $rented, $color: rgba(77, 77, 77, 1));
          tr {
            text-align: center;
            height: 60px;
            &:first-child {
              color: #fff;
              background: rgba(243, 159, 13, 1);
              div {
                border-right: 1px solid #fff;
              }
            }
            td, th {
              width: 160px;
              font-weight: normal;
              padding: 16px 0;
              @at-root td:not(:last-child) {
                div {
                  width: 100%;
                  border-right: 1px solid rgba(179, 179, 179, 1);
                }
              }
            }
          }
        }
        .last {
          border-right: 0 !important;
        }

        .check-in {
          color: rgba(243, 159, 13, 1);
          font-weight: 600;
        }
      }
    }
    .house-recommend {
      .content {
        margin-left: 0;
        & > div {
          width: 450px;
          display: inline-block;
          &:not(:last-child) {
            margin-right: 20px;
          }
          span {
            display: block;
            &:nth-child(2) {
              margin-top: 13px;
              @include handler_font($family: MicrosoftYaHei, $size: $card_title, $color: rgba(51,51,51,1));
            }
            &:nth-child(3) {
              margin: {
                top: 10px;
                bottom: 63px;
              }
              @include handler_font($family: MicrosoftYaHei, $size: $card_detail, $color: rgba(128,128,128,1));
            }
          }
        }
      }
    }
  }
}

.mt67 {

}

/* 块 */
.area {
  width: 1200px;
  margin: 0 auto;
  text-align: left;
}

/* 标签 */
.tags {
  margin-top: 17px;
  overflow: auto;
  li {
    &:not(:first-child) {
      margin-left: 10px;
    }
  }
  span {
    text-align: center;
    line-height: 25px;
    color: #F3640D;
    display: inline-block;
    width: 71px;
    height: 25px;
    border: 1px solid #F3640D;
    border-radius: 3px;
  }
}